Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Spot Lights


Q3SpotLight_GetLocation

You can use the Q3SpotLight_GetLocation function to get the location of a spot light.

TQ3Status Q3SpotLight_GetLocation (
TQ3LightObject light, 
TQ3Point3D *location);
light
A spot light object.
location
On exit, the location of the spot light, in world coordinates.
DESCRIPTION
The Q3SpotLight_GetLocation function returns, in the location parameter, the current location of the spot light specified by the light parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996